package com.imagecollector.domain.dto;


import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiOperation;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.util.List;

@Data
public class PictureDTO {

    @NotNull(message = "任务id不能为空")
    @ApiModelProperty(value = "任务id")
    private Integer taskId;

    @NotNull(message = "用户id不能为空")
    @ApiModelProperty(value = "用户id")
    private Integer userId;

    @NotEmpty(message = "图片url不能为空")
    @ApiModelProperty(value = "图片url的List")
    @Size(min = 1, max = 20, message = "图片url不能为空")
    private List<String> url;

    @ApiModelProperty(value = "用户备注")
    private String remark;

    @NotBlank(message = "用户说明的景区不能为空")
    @ApiModelProperty(value = "用户说明的景区")
    private String userRemarkScenic;

    @NotBlank(message = "用户说明的展品不能为空")
    @ApiModelProperty(value = "用户说明的展品")
    private String userRemarkExhibits;

    @NotNull(message = "任务接收记录id不能为空")
    @ApiModelProperty(value = "任务接收记录id")
    private Integer receiverRecordId;






}
